Skip to content

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Oct 3, 2024

This mentions EXPLAIN ANALYZE and EXPLAIN PLAN in the docs for ESQL's profile option. Those are things that folks from PostgreSQL and Oracle are used to and might search for. And profile is the closest thing we have to them.

EXPLAIN PLAN doesn't run the query - it just tells you what the plan is. ESQL's profile always runs the query. So that's different. But it's close!

EXPLAIN ANALYZE does run the query. It's pretty much the same.

This mentions EXPLAIN ANALYZE and EXPLAIN PLAN in the docs for ESQL's
`profile` option. Those are things that folks from PostgreSQL and Oracle
are used to and might search for. And `profile` is the closest thing we
have to them.

EXPLAIN PLAN doesn't run the query - it just tells you what the plan is.
ESQL's `profile` always runs the query. So that's different. But it's
close!

EXPLAIN ANALYZE *does* run the query. It's pretty much the same.
Copy link
Contributor

github-actions bot commented Oct 3, 2024

Documentation preview:

@elasticsearchmachine elasticsearchmachine added Team:Docs Meta label for docs team Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Oct 3, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@nik9000 nik9000 requested a review from dadoonet October 3, 2024 14:10
Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nik9000 nik9000 merged commit fe6f8d4 into elastic:main Oct 3, 2024
6 checks passed
@nik9000
Copy link
Member Author

nik9000 commented Oct 3, 2024

Thanks Andrei!

nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Oct 3, 2024
This mentions EXPLAIN ANALYZE and EXPLAIN PLAN in the docs for ESQL's
`profile` option. Those are things that folks from PostgreSQL and Oracle
are used to and might search for. And `profile` is the closest thing we
have to them.

EXPLAIN PLAN doesn't run the query - it just tells you what the plan is.
ESQL's `profile` always runs the query. So that's different. But it's
close!

EXPLAIN ANALYZE *does* run the query. It's pretty much the same.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x
8.15

nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Oct 3, 2024
This mentions EXPLAIN ANALYZE and EXPLAIN PLAN in the docs for ESQL's
`profile` option. Those are things that folks from PostgreSQL and Oracle
are used to and might search for. And `profile` is the closest thing we
have to them.

EXPLAIN PLAN doesn't run the query - it just tells you what the plan is.
ESQL's `profile` always runs the query. So that's different. But it's
close!

EXPLAIN ANALYZE *does* run the query. It's pretty much the same.
elasticsearchmachine pushed a commit that referenced this pull request Oct 3, 2024
This mentions EXPLAIN ANALYZE and EXPLAIN PLAN in the docs for ESQL's
`profile` option. Those are things that folks from PostgreSQL and Oracle
are used to and might search for. And `profile` is the closest thing we
have to them.

EXPLAIN PLAN doesn't run the query - it just tells you what the plan is.
ESQL's `profile` always runs the query. So that's different. But it's
close!

EXPLAIN ANALYZE *does* run the query. It's pretty much the same.
elasticsearchmachine pushed a commit that referenced this pull request Oct 3, 2024
This mentions EXPLAIN ANALYZE and EXPLAIN PLAN in the docs for ESQL's
`profile` option. Those are things that folks from PostgreSQL and Oracle
are used to and might search for. And `profile` is the closest thing we
have to them.

EXPLAIN PLAN doesn't run the query - it just tells you what the plan is.
ESQL's `profile` always runs the query. So that's different. But it's
close!

EXPLAIN ANALYZE *does* run the query. It's pretty much the same.
matthewabbott pushed a commit to matthewabbott/elasticsearch that referenced this pull request Oct 4, 2024
This mentions EXPLAIN ANALYZE and EXPLAIN PLAN in the docs for ESQL's
`profile` option. Those are things that folks from PostgreSQL and Oracle
are used to and might search for. And `profile` is the closest thing we
have to them.

EXPLAIN PLAN doesn't run the query - it just tells you what the plan is.
ESQL's `profile` always runs the query. So that's different. But it's
close!

EXPLAIN ANALYZE *does* run the query. It's pretty much the same.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >docs General docs changes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:Docs Meta label for docs team v8.15.3 v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants